how to draw a compact trie